package com.iotechn.unimall.data.enums;

/**
 * 状态0:未开始 1:开启 2:已结束 3:下架
 *
 * @author kyms
 * @date 2020-08-03 11:04
 */
public enum IntergalStatusType {


    NOT_STARTED(0, "未开始"),
    STARTED(1, "开启"),
    END(2, "结束"),
    SPEND(3, "消耗积分");


    private int code;

    private String msg;

    IntergalStatusType(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
